Skip to content

[TorchOnnxToTorch] Support ConvTranspose output_shape for VALID#4567

Draft
hanhanW wants to merge 1 commit intollvm:mainfrom
hanhanW:users/hanhanW/fix-conv-transpose-lowering
Draft

[TorchOnnxToTorch] Support ConvTranspose output_shape for VALID#4567
hanhanW wants to merge 1 commit intollvm:mainfrom
hanhanW:users/hanhanW/fix-conv-transpose-lowering

Conversation

@hanhanW
Copy link
Copy Markdown
Contributor

@hanhanW hanhanW commented May 9, 2026

Support onnx.ConvTranspose output_shape lowering when auto_pad=VALID by inferring output_padding from the requested shape with zero padding. Also reject the ambiguous output_shape + output_padding combination instead of silently overriding the explicit attribute.

Add regression coverage for the VALID + output_shape case and a diagnostics test for the mixed-attribute rejection.`

Support onnx.ConvTranspose output_shape lowering when auto_pad=VALID
by inferring output_padding from the requested shape with zero padding.
Also reject the ambiguous output_shape + output_padding combination
instead of silently overriding the explicit attribute.

Add regression coverage for the VALID + output_shape case and a
diagnostics test for the mixed-attribute rejection.`

Signed-off-by: hanhanW <hanhan0912@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant